IFFT Inverse Fast Fourier Transform


IFFT.new(buffer, wintype)


The fast fourier transform analyzes the frequency content of a signal.

buffer - The buffer where a frame to be processed is held.

wintype - defines how the data is windowed:

-1 is for rectangular windowing, simple but typically not recommended; 

0 (the default) is for Welch windowing, typically recommended for phase-vocoder work; 

1 is for Hann windowing, typically recommended for analysis work.


See also: FFT Overview, FFT, PV_Copy


s = Server.local; 


b = Buffer.alloc(s,2048,1);



SynthDef("help-noopFFT", { arg out=0,bufnum=0;

var in, chain;

in = WhiteNoise.ar(0.01);

chain = FFT(bufnum, in);

chain.inspect; // its an FFT

Out.ar(out, 

IFFT(chain) // inverse FFT

);

}).play(s,[\out,0,\bufnum,b]);


See FFT for more examples.